package com.zimmur.app.mocolink.domain.vo;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class GroupGoodsInfo {
	private Integer groupGoodsId;

    private String style;

    private String scene;

    private String customer;
    @JsonIgnore
    private String description;
    
    private String content;

    private String coverImage;

    private Integer collectQuantity;

    private Integer commentQuantity;

    private Integer isCollect;//是否收藏

    private BigDecimal totalPrice;
    
    private Integer isRecommend;
    
    private String creator;
    
    private Date createTime;
    
    private Integer browerNum;
    
    
	public Integer getIsRecommend() {
		return isRecommend;
	}

	public void setIsRecommend(Integer isRecommend) {
		this.isRecommend = isRecommend;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getGroupGoodsId() {
		return groupGoodsId;
	}

	public void setGroupGoodsId(Integer groupGoodsId) {
		this.groupGoodsId = groupGoodsId;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public String getScene() {
		return scene;
	}

	public void setScene(String scene) {
		this.scene = scene;
	}

	public String getCustomer() {
		return customer;
	}

	public void setCustomer(String customer) {
		this.customer = customer;
	}

	public String getContent() {
		if(description!=null && description.length()>35){
			content = description.substring(0, 35);
		}else{
			content=description;
		}
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCoverImage() {
		return coverImage;
	}

	public void setCoverImage(String coverImage) {
		this.coverImage = coverImage;
	}

	public Integer getCollectQuantity() {
		return collectQuantity;
	}

	public void setCollectQuantity(Integer collectQuantity) {
		this.collectQuantity = collectQuantity;
	}

	public Integer getCommentQuantity() {
		return commentQuantity;
	}

	public void setCommentQuantity(Integer commentQuantity) {
		this.commentQuantity = commentQuantity;
	}

	public Integer getIsCollect() {
		return isCollect;
	}

	public void setIsCollect(Integer isCollect) {
		this.isCollect = isCollect;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public BigDecimal getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	public Integer getBrowerNum() {
		return browerNum;
	}

	public void setBrowerNum(Integer browerNum) {
		this.browerNum = browerNum;
	}
    
}
